﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NUnit.Framework
{
    public abstract class SpecFor<T> : ContextSpecification where T : class
    {
        protected T subject;

        [SetUp]
        public override sealed void SetUp()
        {
            Context();
            subject = InitializeSubject();
            Because();
        }

        public abstract T InitializeSubject();
    }
}
